package com.hbfec.mqttmanager.service;

import com.hbfec.mqttmanager.entity.UserEntity;
import com.hbfec.mqttmanager.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserService {

    @Autowired
    private UserMapper userMapper;

    public List<UserEntity> getAll()
    {
        return  userMapper.getAll();
    }
}
